package org.neframework.webtest.action.log;

import java.util.List;
import java.util.Map;

import org.neframework.webtest.base.BaseController;

import com.tmsps.neframework.mvc.annotation.Controller;
import com.tmsps.neframework.mvc.annotation.RequestMapping;
import com.tmsps.neframework.mvc.annotation.ResponseBody;

@Controller
@RequestMapping("/cp/log")
public class LogController extends BaseController {

	@RequestMapping("/list")
	public String list() {

		return "/jsp/log/list.jsp";
	}

	@RequestMapping("/list_data")
	@ResponseBody
	public void list_data(String srh_log) {

		List<Map<String, Object>> list = getLogService().selectLogList(srh_log, sort_params, page);

		result.put("list", list);
	}

}
